package com.tarena.lbs.attach.utils;

import com.tarena.lbs.attach.pojo.dto.AttachDTO;
import com.tarena.lbs.attach.pojo.vo.FileVO;
import org.springframework.stereotype.Component;

@Component
public class AttachConverter {
    public FileVO assembleDtoToFileVo(AttachDTO attachDTO) {
        FileVO fileVO = new FileVO();
        fileVO.setId(attachDTO.getId());
        fileVO.setFileUuid(attachDTO.getFileUuid());
        return fileVO;
    }
}
